package com.myself.service;

import com.myself.entity.Permission;
import com.myself.entity.Role;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description:
 *
 * @Author: Liuzemin
 * @Date: 2020/7/10 14:10
 */

public interface PermissionService extends BaseService<Permission> {
    void correlationRoles(Long permissionId, Long roleId);

    List<Role> findRoleByPermissionId(Long id);

    void deleteAllPermissionsRoles(Long id);
}
